package com.taxi.apiBoss.service;

import com.taxi.apiBoss.remote.ServiceDriverUserClient;
import com.taxi.common.dto.DriverCarBindingRelationship;
import com.taxi.common.dto.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: ruomengjiang
 * @Date: 2022/8/19
 * @Description : com.taxi.apiBoss.service
 * @Version: 1.0
 */
@Service
public class DriverCarBindingRelationshipService {

    @Autowired
    ServiceDriverUserClient serviceDriverUserClient;


    public ResponseResult bind(DriverCarBindingRelationship driverCarBindingRelationship){
        return serviceDriverUserClient.bind(driverCarBindingRelationship);
    }

    public ResponseResult unbind(DriverCarBindingRelationship driverCarBindingRelationship) {

        return serviceDriverUserClient.unbind(driverCarBindingRelationship);
    }
}
